function inArray(search, array) {
  for (var i in array) {
    if (array[i] == search) {
      return true;
    }
  }
  return false;
}

function copyArray(array, deep = false) {
  if(!deep){
    //浅克隆数组
    return array.concat([])
  }
}


export {
  inArray,
  copyArray
}